﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace RTS
{
	class MagicMan : Unit
	{

		public MagicMan(GameMain game) : base(game)
		{
			trainTime = 5;
			velocity = 2.5F;
			maxLife = life = 100;

			DefineTextures();
		}

		private void DefineTextures()
		{
			unitTextures = new RTSUnitTextures(new TextureSize(225, 225));

			unitTextures.Idle = "MagicManIDLE";
			unitTextures.Walk = "MagicManWALKING";
			unitTextures.Attack = "MagicManATTACK1";
			unitTextures.Death = "MagicManDEATH";
			unitTextures.SelectionArea = "Magic man_selection";
			unitTextures.Seleted = "Magic man_selection circle";
			unitTextures.LifeBar = "Magic man_health bar life";
			unitTextures.LifeBarBackground = "Magic man_health bar empty";
			unitTextures.AttackRange = "Magic man_attack range";
		}
	}
}
